package com.zuijin.vue2blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 歌词表
 * </p>
 *
 * @author 醉瑾
 * @since 2022-04-24
 */
@TableName("lyric")
@ApiModel(value = "Lyric对象", description = "歌词表")
public class Lyric implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("歌曲id")
    @TableField("mid")
    private Integer mid;

    @ApiModelProperty("歌词")
    @TableField("lyric")
    private String lyric;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getLyric() {
        return lyric;
    }

    public void setLyric(String lyric) {
        this.lyric = lyric;
    }

    @Override
    public String toString() {
        return "Lyric{" +
        "id=" + id +
        ", mid=" + mid +
        ", lyric=" + lyric +
        "}";
    }
}
